-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(kustomize): add enable-helm flag for kustomize4 #947
base: master
Are you sure you want to change the base?
Conversation
Sorry, I could use some background here. What's the motivation to add |
Aaah, I see spinnaker/spinnaker#6731.... |
@dbyron-sf many time is requested to extend upstream Helm charts with other resources. more often it is not suitable to modify the upstream helm charts. This flag empowers Kustomize to define upstream helm charts which can be consequently extended using the power of Kustomize and reducing the cost and time to implement any changes into Helm charts. |
@dbyron-sf not sure whether we want to unit test the following change. I haven't seen any other cases. Please advise whether it is enough. I would then make changes into Orca. |
.../main/java/com/netflix/spinnaker/rosco/manifests/kustomize/KustomizeBakeManifestRequest.java
Outdated
Show resolved
Hide resolved
I'd like to see a test that verifies that the command line arg shows up when the flag is set, and the renderer is appropriate. Perhaps HelmTemplateUtilsTest can provide some inspiration for a KustomizeTemplateUtilsTest? |
Sure. Since groovy has been marked as deprecated and no Java tests are present for kustomize, where would you want to see the tests? Should I add it anyway under groovy or create it as Java? @dbyron-sf |
Same package as the source file ( |
Signed-off-by: salvatoremazz <[email protected]>
Signed-off-by: salvatoremazz <[email protected]>
…fests/kustomize/KustomizeBakeManifestRequest.java Co-authored-by: David Byron <[email protected]>
141b4cd
to
82ef301
Compare
@mazzy89 what changes are needed in the Orca side? Do you have a PR we can take a look? |
Not yet. I do not have an Orca PR ready. |
Any updates on this please? |
@Benly-walter no updates on this. We have introduced helmfile last year and helmfile can also manage kustomize. I do not see big reasons to continue with that. |
Thanks for the update. The bake manifests task works perfect for in-house apps. If the --enable-helm switch is made available for kustomization of a helm chart, it will help greatly simplify our setup. We currently have to rely on custom scripts to check if the deployments have rolled out successfully. On a different note, do you know if it is also possible to override the below kubectl defaults which are set to false?
|
IF someone wants to recreate this PR & add tests ... I can review! :) Doesn't look like it'd be too hard to do... |
This PR introduces the possibility to add the
enable-flag
to Kustomize.TODO:
check whether theTheenable-helm
is available only for Kustomize4. In that case gate theadd
functionenable-helm
flag is available only for Kustomize4. Need to make sure to have this flag in place only for Kustomize4